package com.zb.zbtcommon.dto;

/**
 * Created by zyf on 2018/12/11.
 */
public class ResponseEntity<T> {

    private int code; //http状态码

    private  T target;//重要数据

    private String message;//消息  如果不时200 返回message

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public T getTarget() {
        return target;
    }

    public void setTarget(T target) {
        this.target = target;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
